package com.xiaomaoguai.jaeger.trace.service.impl;

import com.xiaomaoguai.jaeger.trace.service.DataDesensitization;
import org.apache.commons.lang3.StringUtils;

/**
 * 非数据脱敏
 *
 * @author August.Zhang
 * @version v1.0.0
 * @date 2020/1/17 17:37
 * @since JDK 1.8
 */
public class NonDataDesensitization implements DataDesensitization {

	/**
	 * 数据脱敏
	 * 数据脱敏接口
	 *
	 * @param source 原始数据
	 * @return 脱敏数据
	 */
	@Override
	public String dataDesensitization(final String source) {
		return StringUtils.trim(source);
	}

}
